package com.ruoyi.security.service;

import java.util.List;
import com.ruoyi.security.domain.FirefighterSecurity;

/**
 * 执行重大安保任务Service接口
 *
 * @author ruoyi
 * @date 2024-10-12
 */
public interface IFirefighterSecurityService
{
    /**
     * 查询执行重大安保任务
     *
     * @param id 执行重大安保任务主键
     * @return 执行重大安保任务
     */
    public FirefighterSecurity selectFirefighterSecurityById(Long id);

    /**
     * 查询执行重大安保任务列表
     *
     * @param firefighterSecurity 执行重大安保任务
     * @return 执行重大安保任务集合
     */
    public List<FirefighterSecurity> selectFirefighterSecurityList(FirefighterSecurity firefighterSecurity);

    /**
     * 新增执行重大安保任务
     *
     * @param firefighterSecurity 执行重大安保任务
     * @return 结果
     */
    public int insertFirefighterSecurity(FirefighterSecurity firefighterSecurity);

    /**
     * 修改执行重大安保任务
     *
     * @param firefighterSecurity 执行重大安保任务
     * @return 结果
     */
    public int updateFirefighterSecurity(FirefighterSecurity firefighterSecurity);

    /**
     * 批量删除执行重大安保任务
     *
     * @param ids 需要删除的执行重大安保任务主键集合
     * @return 结果
     */
    public int deleteFirefighterSecurityByIds(Long[] ids);

    /**
     * 删除执行重大安保任务信息
     *
     * @param id 执行重大安保任务主键
     * @return 结果
     */
    public int deleteFirefighterSecurityById(Long id);


    List<FirefighterSecurity>    selectFirefighterSecurityByName(String emergency);

    void deleteFirefighterSecurityById1(Long userId);
}
